package com.suixuan.test

class Role {
	String name;
	boolean enabled;

	static hasMany = [ urlses : Urls, users : User  ]

	static constraints = {
		name blank:false
		enabled blank:false
	}

	static mapping = {
		table '_role'

		name column : '_name'
		enabled column : '_enabled'

	}
}
